package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author  zm
 * @className   FuncAreaAddRequest
 * @Description
 * @createTime 2024/7/9 15:29
 */
@Data
public class FuncAreaQueryRequest {


    @ApiModelProperty(value = "区域名称")
    private String funcName;

    @ApiModelProperty(value = "区域类型 1：功能区 2：街道 3：商圈")
    @Min(value = 1, message = "级别数值错误,1：功能区 2：街道 3：商圈")
    @Max(value = 3, message = "级别数值错误,1：功能区 2：街道 3：商圈")
    private Integer level;

}
